﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LeadThing.AbpZeroTemplate.Dto;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;

namespace LeadThing.AbpZeroTemplate.Authorization.Users.Dto
{
    [AutoMap(typeof(RegisterDto))]
    public class RegisterDto
    {
        /// <summary>
        /// Result
        /// </summary>
        public object Result { get; set; }

        /// <summary>
        /// Indicates success status of the result.
        /// Set <see cref="Error"/> if this value is false.
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// Error message.
        /// </summary>
        public string Message { get; set; }

    }
}
